/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.wii.elpro.dao;

import com.wii.elpro.entity.Produk;
import java.util.List;

/**
 *
 * @author hendro
 */
public interface ProdukDAOInterface extends DAOGeneric{
    public Produk getProduk(long id)throws Exception;
    public List<Produk> getProduks()throws Exception;
    public List<Produk> getProduksByName(String pName) throws Exception;
    public List<Produk> getProduksByKode(String pKode) throws Exception;
    public boolean kodeIsUsed(String pKode)throws Exception;
}
